import axios from '@/api/fetch';
import SERVER from '@/api/server';
// 上传备件索赔申请
export const uploadPartsClaim = params => axios.post(`${SERVER.SEARCH_DMSCLOUD_PART}/dealer/parts/claim`, params);
// 导入模板
export const exportClaimModel = () =>
  axios.get(`${SERVER.SEARCH_DMSCLOUD_PART}/dealer/parts/claim/exportModel`, {
    responseType: 'arraybuffer'
  });
